<template>
  <div id="assets-app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "App",
  //注册指令
  directives: {
    foccc:{
      bind:function () {
        
      },
      inserted:function(){

      },
      update:function () {
        
      },
      componentUpdated:function () {
        
      },
      unbind:function () {
        
      }
    }
  },
  //keep-alive组件钩子函数
  //激活时候触发
  activated () {
  },
  deactivated () {
  },
  beforeCreate () {
    this.$store.dispatch("loginSaveUserInfo");
  }
};
</script>

<style lang="less" scoped>
#assets-app {
  height: 100%;
  width: 100%;
}
</style>
